<template>
  <div class="home">
    <a href="javascript:;" @click="EnterClickHandle" class="button enter"
      >确认</a
    >
  </div>
</template>

<script>
export default {
  name: "Home",
  components: {},
  methods: {
    EnterClickHandle() {
      localStorage.setItem("Token", "11111");
      window.history.replaceState(null, "home", this.$route.query.source);
    },
  },
};
</script>

<style lang="less">
.home {
  padding: 20px 0;
  a {
    &.button {
      &.enter {
      }
    }
  }
}
</style>
